function   Sell( Ticker,volume )
%BUY Summary of this function goes here
%   Detailed explanation goes here
global cuenta
global orderID
%connectTWS;
%tws.reqIds(1); %Actualiza el valor de orderID
contract=createcontract(Ticker, 'STK');
%sell=createorder('SELL',volume,'LMT',price);
sell=createorder('SELL',volume,'MKT');
%sell.account= cuenta;
placeorderex(contract,sell);
orderID=orderID+1;
pause(5)
end

